package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yc.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;


/**
 * 班级表;班级表
 * @date : 2023-6-27
 */
@Data
@ApiModel(value = "班级表")
@TableName("class_info")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class ClassInfo extends BaseEntity implements Serializable,Cloneable{

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id ;
    /** 班级名 */
    @ApiModelProperty(name = "班级名",notes = "")
    private String cname ;
    /** 辅导员Id */
    @ApiModelProperty(name = "辅导员Id",notes = "")
    private Integer counselor ;
    /** 学院Id */
    @ApiModelProperty(name = "学院Id",notes = "")
    private Integer udid ;
    /** 专业Id */
    @ApiModelProperty(name = "专业Id",notes = "")
    private Integer majorid ;
    /** 入学年份 */
    @ApiModelProperty(name = "入学年份",notes = "")
    private String yearnumber ;
    /** 状态 是否毕业 */
    @ApiModelProperty(name = "状态 是否毕业",notes = "")
    private Integer status ;

    /*班级人数*/
    @ApiModelProperty(name = "班级人数",notes = "")
    @TableField(exist = false)
    private Integer count ;

    /*班级人数*/
    @ApiModelProperty(name = "具体信息",notes = "")
    @TableField(exist = false)
    private String counselorName ;
}
